# Copyright (c) 2024 Kaihong (Shenzhen) Co., Ltd. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set(COMPONENT_NAME "ohos_rom")

set(SOURCES
)

# 假设你的静态库文件都放在这个目录下  
set(STATIC_LIB_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libs")  
  
# 使用GLOB查找所有.a文件  
file(GLOB STATIC_LIBS "${STATIC_LIB_DIR}/*.a")  

set(LIBS
    ${STATIC_LIBS}
)

set(PUBLIC_HEADER
)

set(PRIVATE_HEADER
)

set(PRIVATE_DEFINES
)

set(PUBLIC_DEFINES
)

# use this when you want to add ccflags like -include xxx
set(COMPONENT_PUBLIC_CCFLAGS
)

set(COMPONENT_CCFLAGS
)

set(WHOLE_LINK
    true
)

set(MAIN_COMPONENT
    false
)

build_component()

install_sdk(${CMAKE_CURRENT_SOURCE_DIR}/libs "*.a")